#ifndef __MULTIDOWNLOAD_H_
#define __MULTIDOWNLOAD_H_


// 定义线程数
#define THREAD_NUM 10

// 定义文件信息结构体
struct fileInfo{
    const char* url;
    char* fileptr;
    int offset;
    int end;
    pthread_t thid;
    double nowDownload;
    double totalDownload;
    FILE* recordFile;
};

#endif